import request from '../utils/request.ts'
import request1 from '../utils/request1'
export const getloginApi = (body) =>{
    return request('/login',{
        method: 'POST',
        body,
    })
}
export const getMenuApi = (query) =>{
    return request1 ('/menu',{
        method:'GET',
        query,
    })
}